Assignemnt #114 and 115th program
Code
///Name: Derrick Andreasen
///Period: 7
///Program name: 115th Program
///File name: Hund14prog.java
///Date Finished:4/21/2016
import java.util.Scanner;
public class Hund14prog
{
public static void main( String[] args ) throws Exception
{
System.out.println();
System.out.println( "x | 1\t2\t3\t4\t5\t6\t7\t8\t9" );
System.out.println( "==+==================================================================" );
for(int a = 1; a < 13; a++)
{
System.out.print( a + " | ");
for(int b = 1; b< 10; b++)
{
System.out.print( (a*b) + "\t" );
}
System.out.println( "" );
}
}
}
Picture of the output